//
//  YDPhotoViewModel.swift
//  weibo
//
//  Created by 孙亚东 on 16/6/28.
//  Copyright © 2016年 Sunyadong. All rights reserved.
//

import UIKit

class YDPhotoViewModel: NSObject {
    
    var photo: [YDPictureModels]? = [YDPictureModels]()
    
    init (model: [[String: String]]) {
   

        for dict: [String: String] in model {
        
            
        self.photo?.append(YDPictureModels(dict: dict))    
        
        
        }
    
    
    }
    
    
    

    

    
    
    
}
